-
- All Implemented Interfaces:
-
.GameCommand
public final class CreateGame implements GameCommand
-
-
Field Summary
Fields Modifier and Type Field Description private final GameIdgameIdprivate final Timestamptimestampprivate final GameCreatorIdcreatorprivate final BestOfRoundsbestOfRounds
-
Constructor Summary
Constructors Constructor Description CreateGame(GameId gameId, Timestamp timestamp, GameCreatorId creator, BestOfRounds bestOfRounds)
-
Method Summary
Modifier and Type Method Description final GameIdgetGameId()final TimestampgetTimestamp()final GameCreatorIdgetCreator()final BestOfRoundsgetBestOfRounds()-
-
Constructor Detail
-
CreateGame
CreateGame(GameId gameId, Timestamp timestamp, GameCreatorId creator, BestOfRounds bestOfRounds)
-
-
Method Detail
-
getTimestamp
final Timestamp getTimestamp()
-
getCreator
final GameCreatorId getCreator()
-
getBestOfRounds
final BestOfRounds getBestOfRounds()
-
-
-
-